package com.ysp;

/**
 * @author ysp
 * @date 2021/1/21 11:11
 */
public class Main{
    public static void main(String[] args) {
        AbstractFactory abstractFactory = new AncientFactory();
        Drink drink = abstractFactory.creatDrink();
        Food food = abstractFactory.creatFood();
        drink.show();
        food.show();
    }
}
